import request from '@/utils/request'

// 登录
export function login(data) {
  return request({
    url: '/login/login/',
    method: 'post',
    data
  })
}
// 注销
export function logout(data) {
  return request({
    url: '/login/logout/',
    method: 'post',
    data
  })
}
